package com.example.minzhengtong.ui

import android.content.Context
import android.content.Intent
import android.os.Bundle
import com.example.minzhengtong.base.BaseA
import com.example.minzhengtong.databinding.ActivityPersonalBinding
import com.gyf.immersionbar.ImmersionBar

/**
 * created by WY on 2021/7/20.
 */
class PersonalA : BaseA() {

    companion object{
        fun enterThis(context: Context){
            val intent = Intent(context,PersonalA::class.java)
            context.startActivity(intent)
        }
    }

    private lateinit var binding : ActivityPersonalBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = ActivityPersonalBinding.inflate(layoutInflater)
        overridePendingTransition(0,0)
        setContentView(binding.root)
        setToolBarVisiabale(false)

        ImmersionBar.with(this).titleBar(binding.titleBar).statusBarDarkFont(true).init()
    }

    override fun finish() {
        super.finish()
        overridePendingTransition(0,0)
    }

}